package com.hcb.micro.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.QqbsFansOrderMapper;
import com.hcb.micro.dto.QqbsFansOrder;
import com.hcb.micro.service.IQqbsFansOrderService;

@Service("QqbsFansOrderService")
public class QqbsFansOrderServiceImpl implements IQqbsFansOrderService {

	@Autowired
	QqbsFansOrderMapper qqbsFansOrderMapper;
	
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return qqbsFansOrderMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(QqbsFansOrder record) {
		return qqbsFansOrderMapper.insert(record);
	}

	@Override
	public int insertSelective(QqbsFansOrder record) {
		return qqbsFansOrderMapper.insertSelective(record);
	}

	@Override
	public QqbsFansOrder selectByPrimaryKey(Integer id) {
		return qqbsFansOrderMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(QqbsFansOrder record) {
		return qqbsFansOrderMapper.updateByPrimaryKey(record);
	}

	@Override
	public int updateByPrimaryKey(QqbsFansOrder record) {
		return qqbsFansOrderMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<QqbsFansOrder> selectByFansOrderId(Integer fansOrderId) {
		return qqbsFansOrderMapper.selectByFansOrderId(fansOrderId);
	}

}
